import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/Home'
import ems from '@/view/ems'
import weather from '@/view/weather'
import fmms from '@/view/fmms'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/ems',
      name: 'ems',
      component: ems
    }
    ,
    {
      path: '/weather',
      name: 'weather',
      component: weather
    }
    ,
    {
      path: '/fmms',
      name: 'fmms',
      component: fmms
    }
  ]
})
